<?php
$wpconfig = realpath("../../../wp-config.php");
if (!file_exists($wpconfig))  {
	echo "Could not found wp-config.php. Error in path :\n\n".$wpconfig ;	
	die;	
}
require_once($wpconfig);
require_once(ABSPATH.'/wp-admin/admin.php');
global $wpdb;
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>google-syntax-highlighter</title>
<!-- 	<meta http-equiv="Content-Type" content="<?php// bloginfo('html_type'); ?>; charset=<?php //echo get_option('blog_charset'); ?>" /> -->
<script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/wp-includes/js/tinymce/utils/form_utils.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo get_option('siteurl') ?>/wp-content/plugins/google-syntax-highlighter/tinymce.js"></script>
<base target="_self" />
</head>
<body id="link" onLoad="tinyMCEPopup.executeOnLoad('init();');document.body.style.display='';" style="display: none">
<!-- <form onsubmit="insertLink();return false;" action="#"> -->
<form name="wpsb" action="#">
	<table border="0" cellpadding="4" cellspacing="0">
		<tr>
			<td nowrap="nowrap"><label for="wpsb_main">
					<?php _e("Select Language", 'wpsb_main'); ?>
				</label></td>
			<td><select id="wpsb_lang" name="wpsb_main" style="width: 200px">
					<option value="c#">
					<?php _e("c#", 'wpsb_main'); ?>
					</option>
					<option value="html">
					<?php _e("html xhtml xml xslt", 'wpsb_main'); ?>
					</option>
					<option value="css">
					<?php _e("css", 'wpsb_main'); ?>
					</option>
					<option value="javascript">
					<?php _e("javascript", 'wpsb_main'); ?>
					</option>
					<option value="java">
					<?php _e("java", 'wpsb_main'); ?>
					</option>
					<option value="delphi">
					<?php _e("delphi pascal", 'wpsb_main'); ?>
					</option>
					<option value="ruby">
					<?php _e("ruby", 'wpsb_main'); ?>
					</option>
					<option value="py">
					<?php _e("python", 'wpsb_main'); ?>
					</option>
					<option value="php">
					<?php _e("php", 'wpsb_main'); ?>
					</option>					
					<option value="vb">
					<?php _e("vb.net vb", 'wpsb_main'); ?>
					</option>
					<option value="sql">
					<?php _e("sql", 'wpsb_main'); ?>
					</option>
					<option value="c">
					<?php _e("c c++", 'wpsb_main'); ?>
					</option>
				</select></td>
		</tr>
	</table>
	<div class="mceActionPanel">
		<div style="float: left">
			<input type="button" id="cancel" name="cancel" value="<?php _e("Cancel", 'wpsb_main'); ?>" onClick="tinyMCEPopup.close();" />
		</div>
		<div style="float: right">
			<input type="submit" id="insert" name="insert" value="<?php _e("Insert", 'wpsb_main'); ?>" onClick="insertWPSBcode();" />
		</div>
	</div>
</form>
</body>
</html>